package com.ccc.boot.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccc.boot.system.entity.SysApi;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 按钮接口资源表 Mapper 接口
*
* @author superC
* @date 2022-03-30
* @version 0.1.0
*/
@Repository
public interface SysApiMapper extends BaseMapper<SysApi> {

    List<SysApi> getApisByRoles( @Param("status") Integer status,
                                 @Param("type") Integer type,
                                @Param("roles") String[] roles);
}
